package com.example.backend.mapper;
import com.example.backend.entity.StorageRecord;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Date;

@Mapper
public interface StorageRecordMapper{
    int insert(StorageRecord record);
    int update(StorageRecord record);
    int delete(Long id);
    StorageRecord selectById(Long id);
    List<StorageRecord> selectAll();
    List<StorageRecord> selectByDateRange(Date startDate, Date endDate);
}